﻿
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Demo.Models
{
    /// <summary>
    /// Class WeChatMenue.
    /// </summary>
    [Description("微信菜单")]
    public class WeChatMenue : BaseEntity<long>
    {
        /// <summary>
        /// Gets or sets the name.
        /// </summary>
        /// <value>The name.</value>
        public string Name { get; set; }

        /// <summary>
        /// Gets or sets the type.
        /// </summary>
        /// <value>The type.</value>
        public string Type { get; set; }

        /// <summary>
        /// Gets or sets the URL.
        /// </summary>
        /// <value>The URL.</value>
        public string Url { get; set; }
        /// <summary>
        /// Gets or sets the key.
        /// </summary>
        /// <value>The key.</value>
        public string KeyValue { get; set; }

        /// <summary>
        /// Gets or sets the we chat_ identifier.
        /// </summary>
        /// <value>The we chat_ identifier.</value>
        public long WeChat_Id { get; set; }

 

        /// <summary>
        /// 菜单分类Id
        /// </summary>
        /// <value>The we chat menue category_ identifier.</value>
        public long WeChatMenueCategory_Id { get; set; }
        /// <summary>
        /// 子菜单---子菜单List的json格式
        /// </summary>
        /// <value>The sub menue.</value>
        public string SubMenue { get; set; }

        /// <summary>
        /// 菜单是media时，对应的素材id
        /// </summary>
        /// <value>The media_ identifier.</value>
        public string Media_Id { get; set; }


        /// <summary>
        /// 菜单的类型--以及菜单还是二级菜单
        /// </summary>
        /// <value>The type of the menu.</value>
        public string Category { get; set; }



        public virtual WeChat WeChat { get; set; }

        /// <summary>
        /// Gets or sets the we chat menue category.
        /// </summary>
        /// <value>The we chat menue category.</value>
        public virtual WeChatMenueCategory WeChatMenueCategory { get; set; }
    }
}
